package behavioral_pattern.command_pattern.test2;

public class ModifyCommand extends Command {
    public ModifyCommand(String name) {
        super(name);
    }

    @Override
    public void execute(String args) {
         this.args = args;
         configurator.modify(args);
    }

    @Override
    public void execute() {
        configurator.modify(this.args);
    }
}
